package com.yf.dxapp.module.app.controller.admin.appconfig.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - app配置信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class AppConfigRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "27570")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "配置名", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("配置名")
    private String name;

    @Schema(description = "配置内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("配置内容")
    private String value;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}